package c0907m.group2.aitsm.core.report;

import c0907m.group2.aitsm.util.Settings;

/**
 * Author: LongDH
 * Date: 5/6/11
 * Time: 4:01 PM
 * <p/>
 * Create report for Students.
 */
public class StudentReporter extends ClassReporter {

    public StudentReporter() {
        this.filename = Settings.STUDENT_LIST_REPORT;
    }

    /**
     * Filter by Class's id.
     *
     * @param id the ID to search.
     */
    public void hasClassId(int id) {
        where += " AND class_id = " + id;
    }
}
